package com.smile.f315;
import java.awt.GraphicsEnvironment;
public class LocalFonts {
	public static void main(String[] args) {
		GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
		String[] fonts = env.getAvailableFontFamilyNames();
		for(int i = 0;i<fonts.length;i++){
			System.out.println("字体："+fonts[i]);
		}
	}
}